package org.gap.wizards.state;

public interface Condition {
	boolean isCondition(char keyPress);
	
	public static class KeyPress implements Condition {
		private final char key;

		public KeyPress(char key) {
			this.key = key;
			
		}
		
		@Override
		public boolean isCondition(char keyPress) {
			return key == keyPress;
		}
		
	}
}
